@echo off

set WIX_ROOT_DIR="c:\Program Files (x86)\WiX Toolset v3.8"

:: Build msi
%WIX_ROOT_DIR%\bin\candle.exe -arch x86 -dPlatform=x86 -out obj/pun32.wixobj pun.wxs
%WIX_ROOT_DIR%\bin\light.exe -ext WixUIExtension -out bin/pun32.msi obj/pun32.wixobj
%WIX_ROOT_DIR%\bin\candle.exe -arch x64 -dPlatform=x64 -out obj/pun64.wixobj pun.wxs
%WIX_ROOT_DIR%\bin\light.exe -ext WixUIExtension -out bin/pun64.msi obj/pun64.wixobj
